<template>
	<view class="u-content">
		<u-parse :content="nodes"></u-parse>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				nodes: "",
			}
		},
		onLoad(options) {
			this.init();
		},
		methods: {
			init() {
				this.$http.post('api/sys/article', {
					id: 6
				}).then(res => {
					this.nodes = res.content;
					console.log(res);
				})
			}
		}
	}
</script>

<style>
	.u-content {
		padding: 24rpx;
	}
</style>